package com.gite.nouette.admin.implementation.integrator.director.command;

import com.gite.nouette.admin.contract.integrator.builder.command.IBuilderCommandRemoveModule;
import com.gite.nouette.admin.contract.integrator.director.command.IDirectorCommandRemoveModule;
import com.gite.nouette.admin.contract.model.command.ICommandRemoveModule;

public class DirectorCommandRemoveModuleImpl implements
		IDirectorCommandRemoveModule {
	private IBuilderCommandRemoveModule builder = null;

	@Override
	public IBuilderCommandRemoveModule getBuilder() {
		return this.builder;
	}

	@Override
	public void setBuilder(IBuilderCommandRemoveModule builder) {
		this.builder = builder;
	}

	@Override
	public ICommandRemoveModule getProduct() {
		return getBuilder().getProduct();
	}

	@Override
	public void constructProduct() {
		getBuilder().createNewProduct();
		getBuilder().buildName();
		getBuilder().buildManager();
		getBuilder().buildActivation();
		getBuilder().buildObservable();
		getBuilder().buildObservers();
	}
}
